package com.xjust.Mapper;

import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

@Mapper
public interface CheckRequestMapper {

    Integer selectFinishPatientList();

    Integer selectWaitPatientList();

    List<Map<String, Object>> selectPatientList();

    Integer[] getMedicalTechnologyId(Integer registId,String checkState);

    void updataCheckRequest(Integer employeeId, Integer registId,Integer medicalTechnology,String checkState);

    void updataToCheckRequest(String textarea, Integer registId, Integer medicalTechnology, Integer employeeId, LocalDateTime checkTime);

    Integer[]  getCheckRequestId();

    List<Map<String, Object>> selectAllCheck(Integer registerId);

    Integer[] getCheckRequestOfId();

    void updateCheckRequestState(Integer id, Integer medical_technology_id);

    Integer[] selectMedicalTechnologyByRegisterId(Integer registerId);

    String[] selectState(Integer registerId);

    Integer[] selectCids(Integer registerId);

    Map<String,Object> selectCheck(Integer checkId);
}
